<?php
	include_once("php/round_repository.php");
	include_once("php/round_schedule_repository.php");
	include_once("php/team_repository.php");
	include_once("php/calculations.php");
	include_once("php/match_repository.php");
	include_once("php/player_repository.php");
	$today = date(Y).'/'.date(m).'/'.date(d);
	$repRound= new RoundRepository;
	$repSchedule = new RoundScheduleRepository;
	$repCalc = new Calculations;
	$lastRoundID =$repRound->getRoundByDate($today);
	$round_last = $repRound->map($repRound->readRound($lastRoundID));
	$season =$round_last->seasonID;
	$firstRoundID =$repRound->getFirstRound($season);
	$repTeam = new TeamRepository;
	$repMatch = new MatchRepository;
	$repPlayer=new PlayerRepository;

?>